/**
 * @file       DownKeyPressEvent.cpp
 * @brief      TODO
 * @author     Huabo Zheng
 * @date       Jan 13, 2012
 * @Copyright  2012, www.netgear.com Inc. All rights reserved.
 */

#include "DownKeyPressEvent.h"
#include "errorcode.h"
#include "Frame.h"

namespace NS_LCD_AFW
{

CDownKeyPressEvent::CDownKeyPressEvent()
{
	this->setEventId(DOWN_KEY_PRESSED_EVENT_ID);
}

CDownKeyPressEvent::~CDownKeyPressEvent()
{
}

int CDownKeyPressEvent::doProcess(CFrame *pFrameEventHandler)
{
//	if (ERR_SUCCESS != pFrameEventHandler->onDownKeyPress())
//	{
//		return CKeyboardEvent::doProcess(pFrameEventHandler);
//	}
//	return ERR_SUCCESS;
	return pFrameEventHandler->onDownKeyPress();
}

} /* namespace NS_LCD_AFW */
